package com.seed.databasedesign.type;

/**
 * 文档类型枚举
 *
 * @author gchiaway
 * 日期: 2020-05-03
 * 时间: 15:56
 */
public enum DocumentTypeEnum {
    /**
     * markdown格式的模板
     */
    MARKDOWN("markdown格式", "export/template", "DataBaseDesign.ftl", "DictDesign.ftl"),
    ;
    /**
     * 文档名称
     */
    private String type;
    /**
     * 模板位置
     */
    private String path;
    /**
     * 数据库模板名称
     */
    private String dataBaseName;
    /**
     * 字典模板名称
     */
    private String dictName;


    DocumentTypeEnum(String type, String path, String dataBaseName, String dictName) {
        this.type = type;
        this.path = path;
        this.dataBaseName = dataBaseName;
        this.dictName = dictName;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    /**
     * 获取模板位置
     *
     * @return 拼接完成的模板位置
     */
    public String getPath() {
        return path;
    }

    public void setPath(String path) {
        this.path = path;
    }

    public String getDataBaseName() {
        return dataBaseName;
    }

    public void setDataBaseName(String dataBaseName) {
        this.dataBaseName = dataBaseName;
    }

    public String getDictName() {
        return dictName;
    }

    public void setDictName(String dictName) {
        this.dictName = dictName;
    }
}
